package com.xiaoshuidi.cloud.module.system.controller.admin.permission.vo.menu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 管理后台 - 菜单精简信息 Response VO
 */
@Schema(description = "管理后台 - 菜单精简信息 Response VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuSimpleRespVO {

    /**
     * 菜单编号
     */
    @Schema(description = "菜单编号", required = true, example = "1024")
    private Long id;

    /**
     * 菜单名称
     */
    @Schema(description = "菜单名称", required = true, example = "合房")
    private String name;

    /**
     * 父菜单 ID
     */
    @Schema(description = "父菜单 ID", required = true, example = "1024")
    private Long parentId;

    /**
     * 类型，参见 MenuTypeEnum 枚举类
     */
    @Schema(description = "类型，参见 MenuTypeEnum 枚举类", required = true, example = "1")
    private Integer type;

}